ROM_ADDR_WIDTH = 12
ROM_DATA_WIDTH = 64

RAM_ADDR_WIDTH = 14
RAM_DATA_WIDTH = 64

SM2_BN_BITS = 256

SM2_BN_SIZE = SM2_BN_BITS // RAM_DATA_WIDTH
SM2_JP_SIZE = 3 * SM2_BN_SIZE
SM2_AP_SIZE = 2 * SM2_BN_SIZE


class BiasOfJacP:
    x = 0
    y = SM2_BN_SIZE
    z = 2 * SM2_BN_SIZE


class BiasOfAffP:
    x = 0
    y = SM2_BN_SIZE


if __name__ == '__main__':
    print(SM2_JP_SIZE)
    print(SM2_BN_SIZE)
    print(BiasOfJacP.x)
    print(BiasOfJacP.y)
    print(BiasOfJacP.z)

